package org.example.code.test2024.nine_mouth;

public class B extends A{
    private int age;

    public B(String name, int age) {
        super(name);
        this.age = age;
    }

    public B(int age) {
        this.age = age;
    }

    public B(String name) {
        super(name);
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }
}
